<extend name="Base:base" />
<block name="base_main">
	<link rel="stylesheet" href="__PUBLIC__/seller/css/validform.css" />
	<script src="__PUBLIC__/seller/js/Validform_v5.3.2.js"></script>
	<style>
		body{ background:#fff }
	</style>
	<div class="tpl-block ">
		<div class="am-g tpl-amazeui-form">
			<div class="am-u-sm-12 am-u-md-9">
				<form class="am-form am-form-horizontal" request_type="parent" action="" name="myfromSubmit" method="post">
					<input type="hidden" name="poster[id]" value="{$info.id}" />
					<div class="am-form-group">
						<label for="user-name" class="am-u-sm-3 am-form-label">*平台名称</label>
						<div class="am-u-sm-9">
							<span><input type="text" datatype="*"  name="poster[name]" value="{$info.name}" placeholder="平台名称"></span>
							<span><small>例如：盛汇购微商</small></span>
						</div>
					</div>

					<div class="am-form-group">
						<label for="user-email" class="am-u-sm-3 am-form-label">*网址URL</label>
						<div class="am-u-sm-9">
							<span><input type="text" datatype="/^http\:\/\/.+?/g" errormsg="格式错误，必须要以http://开头" name="poster[url]" value="{$info.url}" placeholder="网址URL"></span>
							<span><small>注意：必须要以“http://”开头</small></span>
						</div>
					</div>
					
					<div class="am-form-group">
						<label for="user-email" class="am-u-sm-3 am-form-label">*平台标示</label>
						<div class="am-u-sm-9">
							<span><input type="text" datatype="/^[0-9A-Za-z]+$/g" errormsg="只能包含数字和字母不能出现其他特殊字符" name="poster[identification]" value="{$info.identification}" placeholder="平台标示"></span>
							<span><small>注意：只能是数字字母，不能使用特殊字符</small></span>
						</div>
					</div>

					<div class="am-form-group">
						<label for="user-QQ" class="am-u-sm-3 am-form-label">备注</label>
						<div class="am-u-sm-9">
							<textarea class="" rows="3" id="user-intro" name="poster[note]" placeholder="非必填项">{$info.note}</textarea>
						</div>
					</div>

					<div class="am-form-group">
						<div class="am-u-sm-9 am-u-sm-push-3">
							<button type="submit" class="am-btn am-btn-primary">保存修改</button>
						</div>
					</div>
				</form>
			</div>
		</div>
	</div>
	<script>
		call_submit_back_flag = true;
		function call_submit_back_func() {
			parent.zeroModal.closeAll();
		}
	</script>
</block>